<?php
class Dmf_Form_Element_Checkbox extends Dmf_Form_Element
{
    public function getContent()
    {
        $this->setAttr( 'type', 'checkbox' );
        $this->addDefaultAttribute( 'value', 'On' );
        
        return '<input%attributes% value="%value%" />';
    }
}